<%@taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<title>Business List Page</title>
</head>
<body>
<div align="center">
<div style="margin: 20 0 20 290px;text-align: left;">
	<span><a href="businessDetails.html"><img src="images/add-new.png"/></a></span>
</div>
<table class="hovertable">
	<tr>
		<th>Id</th>
		<th>Name</th>
		<th>Created By</th>
		<th>Created On</th>
		<th>Last Modified By</th>
		<th>Last Modified On</th>
		<th style="text-align: left;">Edit <br>Details</th>
		<th style="text-align: left;">Edit <br>Category</th>
		<th style="text-align: left;">Edit <br>Products</th>
		<th style="text-align: left;">Edit <br>Brands</th>
	</tr>
<s:iterator value="businessEntities">
	<tr>
		<td><s:property value="id"/></td>
		<td><s:property value="name"/></td>
		<td><s:property value="createdBy.id"/></td>
		<td><s:date name="creationTstamp" format="yyyy-MM-dd" /></td>
		<td><s:property value="lastModifiedBy.id"/></td>
		<td><s:date name="lastModifiedTstamp" format="yyyy-MM-dd" /></td>
		<td><a href='businessDetails.html?businessId=<s:property value="id"/>'><img src="images/edit.png"/></a></td>
		<td><a href='productAsscociation.html?businessId=<s:property value="id"/>'><img src="images/edit.png"/></a></td>
		<td><a href='productBrandAsscociation.html?businessId=<s:property value="id"/>'><img src="images/edit.png"/></a></td>
	</tr>
</s:iterator>
</table>
</div>
</body>
</html>